ITEM.Name = "Item"
ITEM.Description = "Item base"
ITEM.Weight = 100

ITEM.Model = "models/props/cs_italy/orange.mdl"

function ITEM:OnInitialize()

end

--	Called when a player wants to take an item
function ITEM:Take( ply )
	if CLIENT then return "Take" end
	ply:ChatPrint("You take the item...")
	ply:GiveItem( ITEM.Class, ITEM.Quantity )
end

--	Called when a player wants to examine an item
function ITEM:Examine( ply )
	if CLIENT then return "Examine" end
	ply:ChatPrint("You examine the item...")
	ply:ChatPrint(ITEM.Description or "ERROR")
end

--	Called when a player wants to drop an item
function ITEM:Drop( ply )
	if CLIENT then return "Drop" end
	local class = self.Class
	local pos = ply:TraceDropPos()
	local ang = Angle(0,0,0)
	local quantity = self.Quantity or 1
	
	CreateWorldItem( class, pos, ang, quantity )
	
	ply:ChatPrint("You drop the item...")
end



function ITEM:OnTakeDamage( dmg )
	--ITEM.ItemHealth
end

function ITEM:OnDestroy()

end